#include <stdio.h>

void yyerror(char *s)
{
	printf("ERROR : %s\n", s);
}
extern FILE * yyin ;

int main(int argc, char *argv[])
//int main(void)
{
    //if( argc == 2 )
   
        //yyin = fopen( argv[1], "r" );
        yyin = fopen( "1.c", "r" );
        if (yyin == NULL)
        {
            printf("openfile error");
            return 0;
        }

        yyparse();
        printf("--finish--\n");
   
    
    while (!getchar());
    return 0;
}
